﻿using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using ZYLFramework.UI;

namespace Game.UI
{
    public class OverPanelView:UIView
    {
        public Text WinText;
        public Button QuitBtn;
        public Button RestartBtn;


        public override void Init()
        {
            var go = Panel.gameObject;
            WinText = go.transform.Find("WinText").GetComponent<Text>();
            QuitBtn = go.transform.Find("QuitBtn").GetComponent<Button>();
            RestartBtn = go.transform.Find("RestartBtn").GetComponent<Button>();
            
        }
    }
}